home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 12⁄15⁄89 / 0201-Main segment too big-Dec89 < prev    next >
Encoding:
Text File  |  1989-12-15  |  1.4 KB  |  34 lines  |  [TEXT/GEOL]

  1. Item    2100523                         14-Dec-89        12:06
  2.  
  3. From:   D1974                           NorthWest Rsch Assoc, D Lucas,PRT
  4.  
  5. To:     MACDTS                          Macintosh Developer Tech. Supt.
  6.         MACAPP.TECH$                    MacApp Technical
  7.  
  8. cc:     SCHMUCKER1                      Schmucker, Kurt
  9.         D1304                           Donoho Design Group, A Donoho,PRT
  10.         D1974                           NorthWest Rsch Assoc, D Lucas,PRT
  11.  
  12. Sub:    Main segment too big
  13.  
  14. I've just adding printing to my application and find that the Main segment is
  15. too large (> 32K) when I attempt to build a debug version.  All of my own code,
  16. which is a mixture of Object Pascal and C, is segmented such that none of my
  17. routines are included in Main.  The combination of all the stuff from MacApp
  18. explicitly placed in Main plus the various C library functions that the linker
  19. wants to put in Main is just too much with debugging and printing.
  20.  
  21. I'm using MPW 3.0 and MacApp 2.0ß9.
  22.  
  23. What is the best way to get around this problem?  Do I have to change some of
  24. the "{$S Main}" directives in the MacApp source?  If so, which ones?  Or, is
  25. there some way force some of the C library functions into other segments?  Or
  26. have I done something wrong?
  27.  
  28. Please send any suggestions to my AppleLink address, as I am not currently
  29. tracking MACAPP.TECH$.
  30.  
  31. Dave Lucas
  32. Visualogic, Inc.
  33.  
  34.